using System;
using System.Collections.Generic;
using System.Text;

namespace DeliciousAPI
{
    public static class Search
    {
        public static string DeliciousRoot = new DeliciousAPI.Properties.Settings().DeliciousRoot;
        private const string _Tag_Search = "tag/";
        private const string _Popular_Search = "popular/";
        
        public static string SearchTagUrl(string searchTerm)
        {
            return string.Format("{0}{1}{2}", DeliciousRoot, _Tag_Search, searchTerm);
        }

        public static string SearchPopularUrl(string searchTerm)
        {
            return string.Format("{0}{1}{2}", DeliciousRoot, _Popular_Search, searchTerm);
        }
    }
}
